package cn.sdhuijin.vms.service;

import javax.inject.Inject;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Service;

import cn.sdhuijin.vms.dao.IOrganizationDao;
import cn.sdhuijin.vms.model.Organization;

@Service
public class OrganizationService implements IOrganizationService {
	final Logger logger = LoggerFactory.getLogger(OrganizationService.class);
	@Inject
	private IOrganizationDao organizationDao;

	@Override
	public Organization get(Long id) {
		return organizationDao.findOne(id);
	}
}
